﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;

namespace Tesis2.Models
{
    public class DanoXEmergencia
    {
        [DisplayName("Código DañoXEmergencia")]
        [Key]
        public int DanoXEMergenciaID { get; set; }

        public string Valor { get; set; }

        [DisplayName("Cantidad")]
        public int Cantidad { get; set; }

        [DisplayName("Observaciones")]
        public string Observaciones { get; set; }

        //foreign keys

        [DisplayName("Daño")]
        public int DanoEmergenciaID { get; set; }
        public virtual Dano DanoEmergencia { get; set; }        
        
        [DisplayName("Formulario")]
        public int FormularioDanoID { get; set; }
        public virtual Formulario FormularioDano { get; set; }

        public int EmergenciaAuxID { get; set; }
        public virtual Emergencia EmergenciaAux { get; set; }


    }
}